package com.example.software.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = " 科室信息返回的数据格式")
public class DepartmentVO {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Long id;
    /**
     * 父类id
     */
    @ApiModelProperty(value = "父类id(如果为0则代表没有父类其本身就是父类)")
    private Long parentId;
    /**
     * 科室分类名称
     */
    @ApiModelProperty(value = "科室名称")
    private String departmentName;
    /**
     * 层级
     */
    @ApiModelProperty(value = "层级(共两层，1为父类曾，2为子类层)")
    private Integer level;
    /**
     * 科室描述
     */
    @ApiModelProperty(value = "科室描述")
    private String description;

}
